<!DOCTYPE html>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!--
Copyright 2005-2008, The Dojo Foundation
Modifications Copyright 2008 Google Inc.
All Rights Reserved
-->
<html>
<head>
  <title>Closure Unit Tests - goog.dom</title>
  <script src="../assets/getgetter.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
  <h1>testing goog.dom.query()</h1>
  <div id="t">
    <h3>h3 <span>span</span> endh3 </h3>
    <!-- comment to throw things off -->
    <div class="foo bar" id="_foo">
      <h3>h3</h3>
      <span id="foo"></span>
      <span></span>
    </div>
    <h3>h3</h3>
    <h3 class="baz" title="thud">h3</h3>
    <span class="foobar baz foo"></span>
    <span foo="bar"></span>
    <span foo="baz bar thud"></span>
    <!-- FIXME: should foo="bar-baz-thud" match? [foo$=thud] ??? -->
    <span foo="bar-baz-thudish" id="silly:id::with:colons"></span>
    <div id="container">
      <div id="child1" qux="true"></div>
      <div id="child2"></div>
      <div id="child3" qux="true"></div>
    </div>
    <div qux="true"></div>
    <input id="notbug" name="bug" type="hidden" value="failed">
    <input id="bug" type="hidden" value="passed">
  </div>

  <div class="myupperclass">
    <span class="myclass">
      <input id="myid1">
    </span>
    <span class="myclass">
      <input id="myid2">
    </span>
  </div>

  <iframe name=ifr></iframe>
  <div id=iframe-test>
    <div id=if1>
      <div class=if2>
        <div id=if3></div>
      </div>
    </div>
  </div>

</body>
</html>
